package com.yz.xyt.service;

import com.yz.xyt.domain.Dorm;

import java.util.List;

public interface IDormService {
    int deleteByPrimaryKey(Integer id);

    int insert(Dorm record);

    int insertSelective(Dorm record);

    Dorm selectByPrimaryKey(Integer id);

    Dorm selectByDormNumber(String dormNumber);

    int updateByPrimaryKeySelective(Dorm record);

    int updateByDormNumberSelective(Dorm record);

    int updateByPrimaryKey(Dorm record);

    void syncAddDorm(List<Dorm> list);

    void syncUpdateDorm(List<Dorm> list);

    void syncDeleteDorm(List<Dorm> list);

    int addDorm(Dorm dorm);
}
